<% content_for :css do %>
  <%= stylesheet_link_tag 'new_or_edit','lite_fetions_new_or_edit' %>
<% end %>
<%= javascript_include_tag :ckeditor %>
<div class='new_or_edit'>
  <div class='title'>
    编辑-飞信机器人
  </div>
  <div class='body'>    
    <% form_for @fetion,
         :url => lite_fetion_url(@fetion),
         :method => :put,
         :html => {
           :id => :new_or_edit_lite_fetion_form
         } do |f| %>
    <%= render :file => 'lite_fetions/_form.html', :locals => { :f => f} %>    
    <% end %>
  </div>
  <div class='buttons'>
    <%= link_to_function "保存飞信机器人并返回", "$('new_or_edit_lite_fetion_form').submit()", :class => :submit %>
    <%= link_to "返回飞信机器人管理", lite_fetions_url , :class => :return %>
  </div>
</div>  